Ext.define('AM.view.RecordView', {
		extend: 'Ext.grid.Panel',
		alias : 'widget.recordView',
		store : 'RecordStore',
		height: 200,
		width: 400,
		frame:true,
		columnLines:true,
//		selModel : Ext.create('Ext.selection.CheckboxModel'), 
		selModel: {
	        injectCheckbox: 0,
	        mode: "SIMPLE"     //"SINGLE"/"SIMPLE"/"MULTI"
   		 },
   		selType: "checkboxmodel",
    	dockedItems: [{
        xtype: 'pagingtoolbar',
        dock: 'bottom',
        store : 'RecordStore',
        displayInfo: true
    }],
		columns: [	
			        {text: '序号', xtype: 'rownumberer',width:50,align:'center'},
//			        { text: '名称', dataIndex: 'name', width:80,align:'center'},
			        { text: '部门',dataIndex: 'department', width:80,align:'center'},
			        { text: '人员',dataIndex: 'employee', width:80,align:'center'},
			        { text: ' 工作详情',  dataIndex: 'jobDetail',  width:80,align:'center' }
			     ],
			   tbar: [
					  { xtype: 'button', text: '增加',icon: 'Ext/restful/images/add.png'
					  },
					  { xtype: 'button', text: '修改',icon: 'Ext/restful/images/cog_edit.png'
					  },
					  { xtype: 'button', text: '删除',icon: 'Ext/restful/images/delete.png'
					  }
					]
		
})